package com.msti.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.NamedNativeQuery;

@Entity
public class Course {
	
	private long id;
	private String name;
	private String duration;
	private double fee;
	private String center;
	private String CourseShortName;
	
	public String getType() {
		return center;
	}
	public void setType(String center) {
		this.center = center;
	}
	public String getDuration() {
		return duration;
	}
	public void setDuration(String duration) {
		this.duration = duration;
	}
	@Id
	@GeneratedValue
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getFee() {
		return fee;
	}
	public void setFee(double fee) {
		this.fee = fee;
	}
	public String getCourseShortName() {
		return CourseShortName;
	}
	public void setCourseShortName(String courseShortName) {
		CourseShortName = courseShortName;
	}
	
	
}
